<?php
/**
 * @link http://www.genyii.com
 * @copyright Copyright (c) 2015 GenYii Software Co.,Ltd.
 */

namespace app\models;

use Yii;

class Model extends \yii\base\Model
{

    public function loadPost()
    {
        return $this->load(Yii::$app->request->post());
    }

}
